var express = require('express');
var router = express.Router(); // 实例化路由对象

router.get('/:id', function (req, res) {
  console.log('获取动态参数：', req.params);

  res.send('当前访问用户是：' + req.params.id);
});

module.exports = router;
